﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/HomePage.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Indeco.G24.Website.User.Register" Title="Đăng ký" %>

<%@ Register Src="AddProvider.ascx" TagName="AddProvider" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="padding-left:5px; width:100%; height:20px; text-align:left">
        <asp:SiteMapPath ID="G24SiteMap1" runat="server" Font-Size="8pt" CurrentNodeStyle-Font-Bold="true">
        </asp:SiteMapPath>
    </div>
    <br />
<%--     <asp:Label ID="Label1"  runat="server" meta:resourceKey="Label1" ></asp:Label>
   <br />
           <asp:Button ID="Button1" runat="server" Text="Button" meta:resourceKey="Button1" OnClientClick="return false;" /><br />
--%>
    <dxrp:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" BackColor="#EBF2F4" CssFilePath="~/App_Themes/Glass/{0}/styles.css"
        CssPostfix="Glass" Width="660px" HeaderText="Đăng ký" HorizontalAlign="Center">
        <PanelCollection>
            <dxp:PanelContent runat="server">
                <asp:CreateUserWizard ID="createUserWizard" runat="server" AnswerLabelText="C&#226;u trả lời:"
                    BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderStyle="Solid" BorderWidth="1px"
                    CancelButtonText="Hủy" CompleteSuccessText="T&#224;i khoản của bạn đ&#227; được tạo."
                    ConfirmPasswordLabelText="Nhập lại mật khẩu:" ContinueButtonText="Tiếp tục" CreateUserButtonText="Đăng k&#253;"
                    Font-Names="Verdana" Font-Size="0.8em" PasswordLabelText="Mật khẩu:" QuestionLabelText="C&#226;u hỏi bảo mật:"
                    UserNameLabelText="T&#234;n sử dụng:" OnCreatingUser="createUserWizard_CreatingUser" OnContinueButtonClick="createUserWizard_ContinueButtonClick" FinishCompleteButtonText="Ho&#224;n th&#224;nh" FinishPreviousButtonText="Trước">
                    <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
                        Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
                    <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" />
                    <StepStyle Font-Size="0.8em" />
                    <ContinueButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                        BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
                    <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                        BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
                    <WizardSteps>
                        <asp:CreateUserWizardStep runat="server" Title="Đăng k&#253; th&#224;nh vi&#234;n">
                        </asp:CreateUserWizardStep>
                        <asp:WizardStep runat="server" AllowReturn="False" StepType="Complete" Title="Đăng k&#253; th&#224;nh c&#244;ng">
                            <asp:Label ID="lblSuccessful" runat="server" Font-Bold="True" Font-Size="Small" Text="Xin ch&#250;c mừng bạn đ&#227; đăng k&#253; th&#224;nh c&#244;ng !"></asp:Label>
                            <br />
                            <br />
                            <asp:Label ID="Label1" runat="server" Font-Size="Small" Text="Bạn c&#243; muốn đăng k&#253; l&#224;m nh&#224; cung cấp ?"></asp:Label>
                            <br />
                            <br />
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="center" valign="middle">
                                        <dxe:ASPxButton ID="btnUserFinish" runat="server" CssFilePath="~/App_Themes/Glass/{0}/styles.css"
                                            CssPostfix="Glass" Text="Bỏ qua" OnClick="btnUserFinish_Click">
                                        </dxe:ASPxButton>
                                    </td>
                                    <td align="center" style="width: 31px;" valign="middle">
                                    </td>
                                    <td align="center" valign="middle">
                                        <dxe:ASPxButton ID="btnRegisterProvider" runat="server" CssFilePath="~/App_Themes/Glass/{0}/styles.css"
                                            CssPostfix="Glass" Text="Đăng k&#253; nh&#224; cung cấp" OnClick="btnRegisterProvider_Click">
                                        </dxe:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                            &nbsp;
                        </asp:WizardStep>
                        <asp:WizardStep runat="server" Title="Đăng k&#253; nh&#224; cung cấp" AllowReturn="False" StepType="Complete">
                           <br />
                           <div style="text-align:center;">
                                <asp:Label id="lblDangKyNhaCungCap" runat="server" Text="Đăng ký là nhà cung cấp" Font-Bold="True" Font-Size="Small"></asp:Label>
                            </div>                            
                            <uc1:AddProvider ID="AddProvider1" runat="server">
                            </uc1:AddProvider>
                        </asp:WizardStep>
                        <asp:CompleteWizardStep runat="server" Title="Đăng k&#253; ho&#224;n tất">
                        </asp:CompleteWizardStep>
                    </WizardSteps>
                    <TitleTextStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <CreateUserButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                        BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
                    <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
                    <NavigationStyle VerticalAlign="Middle" />
                </asp:CreateUserWizard>
            </dxp:PanelContent>
        </PanelCollection>
        <BottomLeftCorner Height="5px" Url="~/App_Themes/Glass/Web/rpBottomLeftCorner.png"
            Width="5px" />
        <TopRightCorner Height="5px" Url="~/App_Themes/Glass/Web/rpTopRightCorner.png" Width="5px" />
        <BottomRightCorner Height="5px" Url="~/App_Themes/Glass/Web/rpBottomRightCorner.png"
            Width="5px" />
        <Content>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpContentBack.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </Content>
        <NoHeaderTopEdge BackColor="#EBF2F4">
        </NoHeaderTopEdge>
        <HeaderLeftEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpHeaderLeftEdge.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </HeaderLeftEdge>
        <NoHeaderTopRightCorner Height="5px" Url="~/App_Themes/Glass/Web/rpNoHeaderTopRightCorner.png"
            Width="5px" />
        <RightEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpLeftRightEdge.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </RightEdge>
        <HeaderContent>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpHeaderBack.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </HeaderContent>
        <BottomEdge BackColor="#D7E9F1">
        </BottomEdge>
        <TopLeftCorner Height="5px" Url="~/App_Themes/Glass/Web/rpTopLeftCorner.png" Width="5px" />
        <LeftEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpLeftRightEdge.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </LeftEdge>
        <ContentPaddings PaddingBottom="10px" PaddingLeft="4px" PaddingTop="10px" />
        <NoHeaderTopLeftCorner Height="5px" Url="~/App_Themes/Glass/Web/rpNoHeaderTopLeftCorner.png"
            Width="5px" />
        <HeaderRightEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpHeaderRightEdge.gif" VerticalPosition="bottom" />
        </HeaderRightEdge>
        <Border BorderColor="#7EACB1" BorderStyle="Solid" BorderWidth="1px" />
        <HeaderStyle BackColor="White" Height="23px">
            <Paddings PaddingBottom="0px" PaddingLeft="2px" PaddingTop="0px" />
            <BorderBottom BorderStyle="None" />
        </HeaderStyle>
    </dxrp:ASPxRoundPanel>
    <br />
</asp:Content>
